doctype html
html
  head
    title Login | #{@option.title}
    meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"

    - if @option.favicon.present? && @option.favicon.asset.present?
      link href=@option.favicon.asset_url rel="shortcut icon"
    == stylesheet_link_tag    "fae/application", media: "all"
    == javascript_include_tag "fae/application"
    == csrf_meta_tags

  body.login-body
    == render 'fae/application/flash_messages'

    section.login-content
      section.login-area
        .login-logo
          - if @option.logo.present? && @option.logo.asset.present?
            = image_tag @option.logo.asset.url, alt: @option.title
          - else
            h1 = @option.title

        == yield

      footer.login-footer
        .login-helper == render 'devise/shared/links' unless params[:controller] == 'fae/setup'

        == render 'fae/application/credit'
